-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PORTS--Cloudy #40
base: master
Are you sure you want to change the base?
PORTS--Cloudy #40
Conversation
…ed actions to the works controller
Media RankerWhat We're Looking For
Cloudy, let's meet and talk about what happened with this project; your TaskList project was farther along than this. You and I have spoke about speed before, but I want to look back on this project and talk about:
As always; the code you have is good. You got the beginnings of the WorksController correct. But I want to understand how this project got to the state that it's in, and what you need to change in order to push forward. |
|
||
<p>Creator: <%= @work.creator%> </p> | ||
|
||
<div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content inside of this div
should be indented
config/routes.rb
Outdated
@@ -0,0 +1,10 @@ | |||
Rails.application.routes.draw do | |||
get 'works/index' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you define this path?
config/routes.rb
Outdated
root to: "works#index" | ||
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html | ||
# root to: 'works#path' | ||
resources :works |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
watch your indentation
app/views/works/index.html.erb
Outdated
@@ -0,0 +1,23 @@ | |||
<h1>Works#index</h1> | |||
<p>Find me in app/views/works/index.html.erb</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd expect at least this h1
and this p
to be deleted at some point...
…ser and vote. updated routes. added some tests in users and works and added actsas gem to gem file.
…ed the index and show works.
…to account for votes and users show, fleshed out the acts as votable implementation to work
Media Ranker
Congratulations! You're submitting your assignment!
Comprehension Questions
session
andflash
? What is the difference between them?